package csc.fresher.service;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

import csc.fresher.entity.SystemRecordLogin;
import csc.fresher.entity.SystemUser;

public interface SystemUserService {
	public long createSystemUser(SystemUser systemUser);
	public long updateSystemUser(SystemUser systemUser);
	public List<SystemUser> getSystemUserByID(long systemUserID);
	public List<SystemUser> getSystemUserByState(String systemUserState);
	public List<SystemUser> getSystemUserByFirstName(String firstName);
	public List<SystemUser> getSystemUserByPhoneNumber(String phoneNumber);
	public List<SystemUser> getSystemUserByAddress(String address);
	public List<SystemUser> getSystemUserByEmail(String email);
	
	public List<SystemUser> getSystemUser();
	public SystemUser get1SystemUserByID(long systemUserID);
	
	public long createRecordLogin(SystemRecordLogin systemRecordLogin);
	public long getSystemUserIDByUserName(String userName); 
	public List<Long> getRoleByUserName(String username);
	
	public List<SystemRecordLogin> getRecordLogin();
	public List<SystemRecordLogin> getRecordLoginByID(long systemUserID, Timestamp from, Timestamp to);
	public List<SystemRecordLogin> getRecordLoginByDate(Timestamp from, Timestamp to);
	public List<SystemUser> getSystemUserByIDCardNumber(String idCardNumber);
}
